package com.test;

public class Restaurant {
    void cookingMeals() {
        System.out.println("做中餐");
    }
}

class Aoo extends Restaurant {

}

class Boo extends Restaurant {
    @Override
    void cookingMeals() {
        System.out.println("做西餐");
    }
}

class Coo extends Restaurant {
    @Override
    void cookingMeals() {
        super.cookingMeals();
        System.out.println("做西餐");
    }
}
